<template>
    <div class="sub">
        <h2>{{ title }}</h2>
       <slot name="default"></slot>
    </div>
</template>


<script setup lang="ts" name = "Page51sub">
import { ref} from 'vue';
defineProps(['title'])


</script>

<style lang="scss" scoped>
.sub {
    width: 250px;
    height: 300px;
    background: skyblue;
    border-radius: 6px;
    box-shadow: inset;
}
h2 {
    background: orange;
    color: #fff;
    text-align: center;
}
</style>